import Vue from 'vue'
import echarts from 'echarts';

import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element'
import './mock' // simulation data
import * as filters from './filters' // global filters

Vue.prototype.$echarts = echarts;

// register global utility filters.
Object.keys(filters).forEach((key) => {
  Vue.filter(key, filters[key])
})

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');
